modules: Check current context before retrieving surrounding
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 7 Sep 2018 14:54:13 +0000 (16:54 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 18 Dec 2018 19:27:12 +0000 (20:27 +0100)
commit1e69d248cbe424dfd0c6a37b87e53ac5a0234b17
tree1fc2e121c9be7ec1af4e6e0a869a274f3c01c161
parentc49b29fa53bb1a8a4530cf868d34d1302acdf2eb
modules: Check current context before retrieving surrounding

There may be situations where this might get called while the
currently focused context just went away (eg. after setting the
text widget unsensitive).

Closes: #1317
gtk/gtkimcontextwayland.c